<!-- 提示信息 -->
<app-tip [type]="tipType"></app-tip>
<!-- 遮罩 -->
<app-load *ngIf="isLoading"></app-load>

<div class="header">
  <div class="left flex" [routerLink]="['/main/set']"  id="btn-back">
    <div class="left-icon">
      <i class="fa fa-angle-left back-icon" aria-hidden="true"></i>
    </div>
    <div class="left-name">
      <span class="back-name">返回</span>
    </div>
  </div>
  <div class="center">修改密码</div>
</div>

<div class="main">
  <div class="set-list" style="margin-top: 80px;">
    <div class="group-list">
      <div class="group-item">
        <div class="left" style="flex:1">
          <span style="position: absolute"></span><span _ngcontent-c1="" style="margin-left: 25px;">原密码</span>
        </div>
        <div  class="right">
          <input style="outline: none;
  border: none;
  /*width: 100%;*/
  height: 3em;
  background-color: transparent" type="password" placeholder="请输入原密码" [(ngModel)]="pwd.oldPwd">
        </div>
      </div>
    </div>
    <div class="group-list">
      <div class="group-item">
        <div class="left" style="flex:1">
          <span style="position: absolute"></span><span _ngcontent-c1="" style="margin-left: 25px;">新密码</span>
        </div>
        <div class="right">
          <input style="outline: none;
  border: none;
  /*width: 100%;*/
  height: 3em;
  background-color: transparent" type="password" placeholder="请输入新密码"  [(ngModel)]="pwd.newPwd">
        </div>
      </div>
    </div>
    <div class="group-list">
      <div class="group-item">
        <div class="left" style="flex:1">
          <span style="position: absolute"></span><span _ngcontent-c1="" style="margin-left: 25px;">再次输入新密码</span>
        </div>
        <div class="right">
          <input style="outline: none;
                 border: none;
          /*width: 100%;*/
          height: 3em;
          background-color: transparent" type="password" placeholder="请再次输入新密码"  [(ngModel)]="pwd.newPwd1">
        </div>
      </div>
    </div>

    <div style="padding: 0 1em 1em 1em;margin-top: 1em;">
      <div class="btn-submit" (click)="submitData()" *ngIf="submitType">提交</div>
    </div>
  </div>
</div>
